#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface EaseEmotionEscape : NSObject
+ (EaseEmotionEscape *)sharedInstance;
+ (NSMutableAttributedString *) attributtedStringFromText:(NSString *) aInputText;
+ (NSAttributedString *) attStringFromTextForChatting:(NSString *) aInputText;
+ (NSAttributedString *) attStringFromTextForInputView:(NSString *) aInputText;
- (NSAttributedString *) attStringFromTextForChatting:(NSString *) aInputText textFont:(UIFont*)font;
- (NSAttributedString *) attStringFromTextForInputView:(NSString *) aInputText textFont:(UIFont*)font;
- (NSAttributedString *) attStringFromTextForChatting:(NSString *) aInputText textFont:(UIFont*)font textColor:(UIColor *)color;
- (void) setEaseEmotionEscapePattern:(NSString*)pattern;
- (void) setEaseEmotionEscapeDictionary:(NSDictionary*)dict;
@end
@interface EMTextAttachment : NSTextAttachment
@property(nonatomic, strong) NSString *imageName;
@end
